import React, { Component } from "react";
import { UserContext } from "../context";

export default class Avatar extends Component {
  static contextType = UserContext;
  render() {
    return (
      <div>
        <h3>Avatar:{this.context.username}</h3>
      </div>
    )
  }
}
